from urllib.request import urlopen
#headers = {"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0"}
file=open("./pythonorg.html","w",encoding="utf-8")
with urlopen("https://www.28gou.cn") as response:
    for line in response:
        line = line.decode('utf-8')
        #if 'EST' in line or 'EDT' in line:
        file.write(line)
        print(line)
file.close()
